/**
 * 
 */
package org.lavemylogic.friendsfinder.utilities;

import org.lavemylogic.friendsfinder.R;

import android.app.Activity;
import android.app.AlertDialog;

/**
 * @author Paner
 *
 */
public class CustomAlert {
	
    public static void show(Activity activity, String title, String message) {
        new AlertDialog.Builder(activity)
                .setTitle(title)
                .setMessage(message)
                .setPositiveButton(R.string.ok, null)
                .show();
    }
    
    public static void showWithButton(Activity activity, int cancelled, int permissionNotGranted, int ok) {
    	new AlertDialog.Builder(activity)
        .setTitle(cancelled)
        .setMessage(permissionNotGranted)
        .setPositiveButton(ok, null)
        .show();
    }
    
}
